heat.yaml.tmpl: fix processing of dns list