virttest.qemu_vm: Fixes related to recent changes

There are some fixes related to issues brought by: https://github.com/autotest/virt-test/pull/360

It's not perfect, but from what I tested it works.

Regards, Lukáš