Bux Fixes

These fixes account for no data and return nil accordingly instead of exceptions, which halt puppet runs and other things that depend on hiera's return value.