GCP-7034 extracted favorite locations logic to Util class so it can be reused for Germplasm Import