(PUP-1151) Fix environment enumeration endpoint test
Merge pull request #2241 from aperiodic/pup-1151-environment-enumeration-test-fix

(PUP-1151) Fix environment enumeration endpoint test