Make get_devices() return an empty list instead of erroring out (reported by Tomasz Rybak)