ensure hiera hosts entry is an empty hash if there are no hosts (closes #3752)