Adds a getenv wrapper for CloudEnvironment.