Cleaned up remote repository initialization.