Project: datamanagement
Issue DM-2636: Update code to use the function provided in DM-2635
As per RFC-44: update existing code that finds packages using eups.getProductDir or by using environment variables to use the function added in DM-2635
Story points: 3