Ah nice find Sean Millichamp!
Merged to 5.5.x in https://github.com/puppetlabs/puppet/commit/9a2305bb527c93b25c2e6bf7db958f87860cc8a4