Fixed custom jinja2 templates being ignored when setting template_path