[libvirt PATCH 09/12] tools: virsh: reduce variable scope to use automatic cleanup