Fixed unhandled errors.
Merge branch 'api-v3' of github:giavjeko/puppet-library into api-v3