bug: rework qemu check

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>