[PATCH v2 1/3] libvirt-guests.sh: Declare and assign separately to avoid masking return values