Clean up tags and branches.

Not sure yet how reposurgeon is supposed to handle tag and branch
names with a '/'.