Removes repository.