Launchpad bug-1179630 Autodetect path search order