data/type: allow empty classes

In certain cases, some nodes may not have Puppet classes. To avoid any
Hiera error, we need to ensure that "class:" is not set in the hiera
config.