TGitCache: fix overlays of versioned folders