As you rightly pointed out in the other comment saying that qemu-img exists in both Debian and RedHat systems I'm just using qemu-img instead of having a method to figure out which image utility I should use.

But, this comment is valid for the get_emulator method, on that method I if I can't find the emulator I'll print a error message and exit.