Fixes phonegap/ios-deploy#80 (re-fix) --detect not showing non-zero exit code when no devices are detected.

When --detect is turned on, --debug is turned on implicitly so you won't get a segmentation fault.