The facts.d directory would be part of someones module.  So we're checking every module in each modulepath for a facts.d and adding this directory.  It is what's needed for puppet apply to work properly.