[libvirt PATCH 3/6] vz: refactor testURIParse