[libvirt] [PATCH] command: avoid double close in virExecWithHook