I like this code.

```ruby
def to_apt_line_uri(repo)
  repo.sub(/^ppa:/, '')
end
```