Applied fix for bug https://tickets.puppetlabs.com/browse/MODULES-865