refactor #to_apt_line_uri

use String#sub to replace /^ppa:/ to ''
simplify.