Prefs: Handle safely the case where no device is found.

The core will fallback to a sane fallback device.
However, the UI should make it clear that no device was found.