Handle the case where qemu-nbd is missing

If qemu-nbd is not present at the host system, only accept raw images
as input media. This is a workaround for ancient systems like CentOS 6.x
where the nbd module is not compiled in the default kernel and the qemu
package does not include the qemu-nbd executable.