[libvirt] [PATCH] libvirt-domain: fix the error reporting when use the localhost as target uri