[libvirt] [PATCH] tools: fix variable scope in in check_guests_shutdown