Only scan plugins if there are some.
Use the built app id and not the one from the original plist (it might be a variable that hasn’t been substituted yet).