Reading COG_CONFIG_DIR from environment at installation time.