Handle when facter is embedded in a jar
Merge branch 'pull-506'

This closes GH-506