Fix tests to use local repository.