Fix typo in get_devices empty fix