By default, discovery cache should be in the modules dir instead of cwd.