[TIMOB-17604] Fixed bug when a bad device udid is specified and prompting for a device to use.
[TIMOB-17604] Fixed a few bugs with handling bad device ids and all devices.
Merge pull request #6031 from cb1kenobi/timob-17604

[TIMOB-17604] Fixed bug when a bad device udid is specified and prompting for a device to use.