Make sed expressions which operate on URLs easier to read
Use a more specific regex.
Merge pull request #2 from ceph/portability

Don't ruin sources.list files that reference their own mirrors