[ticket/13362] Fix cache paths in .gitignore

PHPBB3-13362
Merge pull request #3187 from Nicofuma/ticket/13362

[ticket/13362] Fix cache paths in .gitignore