[libvirt] [PATCH] remote: avoid null dereference on error