Fixing a regression in locateBundleExecutable()