fix reference to JINJA_ENVIRONMENT