libvirt.test: Fix judgment of qemu-kvm

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #152 from liyangfnst/connect

libvirt.test: Fix judgment of qemu-kvm