[libvirt] [PATCH] node: Don't return invalid pointers