fix libvirt-guests.sh failing with multiple guests

Patch as proposed here https://www.redhat.com/archives/libvir-list/2020-August/msg00595.html

If one of you could review and ack it upstream I could push it there.

Merge request reports

Loading