Support repo names with multiple '-'s

The search and replace that converted dashes in REPONAME only converted
the first dash. They should all be converted.