fix nil path when not using gist cache
Merge pull request #916 from Keithbsmiley/2.1

Fix nil path when not using gist cache