[libvirt] tweak a format string and add a test