Fix as discussed in https://github.com/example42/puppet-puppet/commit/6df4929c42badf45c1c144d7775137f25183b27c#commitcomment-4716254