[libvirt] [PATCH 17/17] virsh-secret: Refactor error paths