libvirt: fix for Virsh edit test