ensure to search also in the legacy location
unfortunately configSearchLocations has a boolean trap, and
without passing true it will skip the legacy /etc/xdg location
breaking old workspace with new frameworks
(cherry picked from commit 134d1ebd0e8ebe74496c43697741fea79fb25933)