Fix module to use with Librarian Puppet in newer versions of Puppet

taken from an un-merged pull request in source repo