[libvirt] [libvirt-sandbox][PATCH v2] Fix logical judgement in get_name