[environments] Add helper function to list environment packages

This assumes that the environment are setup using conda.
1 job for list_environment_packages in 16 minutes and 15 seconds (queued for 8 seconds)