Fixes #3030 - require facter where necessary