fix nil path when not using gist cache