small fix for snapshot test in libvirt.