[libvirt] [PATCH 4/4] rpc: Fix potentially segfaults