gitignore bug fix

git ignored subdirectories of same name for example cache/ was ignored
in .gitignore file so it ignored all cache Folder in subdirectories as
well