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().
Merge pull request #3771 from paymand/install_ipa_on_device

Fix for installing IPA packages on iOS devices.