Fix nil path when not using gist cache

Catches a nil path when not using the `.gist-cache` setup.