Fix to work with strict_variables = true

This traps the exception which gets thrown if you use hiera in an old style class or manifest with strict_variables set to true.