fixes #4372 - compatibility with Facter 2 API