Fix for installing/removing app on device when a .app path is used.