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