Loosen tap repository parsing

The regex that validates arguments to the tap command does not allow
for dashes in the repository name. Repositories with names like
`homebrew-foo-bar` are rejected. This patch opens up valid repository
names.

This fixes Issue #17021.