Same as comment in cms/envs/common.py