Added option to disable staging/shared template dirs. Fixed errors when exec. facter locally