Handle unicode exception in jinja templates
Add current host to jinja context