[libvirt PATCH 04/19] commandhelper: Consolidate error paths