Added a workaround for when Facter is not available.