Exclude folder when building cache

Decided to move this up and release a patch.