Wait for valid device before installing
Merge pull request #588 from bootstraponline/wait_for_valid_device

Wait for valid device before installing