removing use of has_variable per http://docs.puppetlabs.com/guides/templating.html#testing-for-undefined-variables