Create gitfs cache dir if does not exist

Should fix test suite
Merge pull request #13511 from cachedout/more_gitfs_fix

Create gitfs cache dir if does not exist