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