Allow location services in zip file

Give the possibility of specifying a `bundleId` and an `app`, so that you can turn on location services but still process a zip or ipa file. I've run all our tests, and the added condition does not seem to cause any problems. Resolves #3769.