Skip umockdev-record loop device test if /sys exists, but there is no loop device

Fixes FTBFS on Debian buildds.