Fix cache directory for mock of config