Change logic on how to match names with germplasm in case option 1 is used in the previous popup

Issue: GCP-8868

Reviewer: Darla