the code for initializing remotes added the project specific remote caches to the global list instead of making a copy. Fixes #618