[libvirt PATCH 04/10] virsh: checkpoint: move variables inside the loop