Cleanup: Moved tracking variable "addedGermplasmNameMap" local to the function where it is used. Removed the now unused tracking Set "germplasmIds". Minor refactoring for readability.

Issue: BMS-90