[libvirt] [PATCH 5/5] refactoring: Use the return value of virObjectRef directly