Devices: display a message when no devices are detected

Devices: display a message when no devices are detected instead of an assert.