(#21211) Fix format string
(#21211) Raise a error on failed reading of cache

Instead of just debug logging this raise a error unless a default value
is supplied.
Merge pull request #151 from dalen/yaml_error

(#21211) Improve error message when hiera fails to load YAML file