Wrap idevice_id call in try/except in case no device is plugged in