added check for qemu-img