getIDeviceObj() should return the device object.
No need to remove the app if bundleId is null.
Merge pull request #1814 from paymand/getIDeviceObj

getIDeviceObj() should return the device object.