Fix for installing IPA packages on iOS devices.

If this.args.app is an IPA, this.args.ipa should get the same value,
so that installIpa() is called from installToRealDevice().