[skip ci] Bugfix for check_devices