Improve matching of HTTP config_tags

Inspirated from
http://www.tmartin.io/articles/2014/salt-improving-jinja-usage/ ;)