PreCacheCodeRepositoryTest updated to provide $remotes argument correctly