Fixing cache vendor regex

* Fixes #1051
* Any folder with "cache" in it was being ignored. This fixes it.
Merge pull request #1052 from shrayas/cache-vendor-fix

Fixing cache vendor regex