Remove sudo from apt-key in function add_repository.