allow uppercase characters in namespace and repository name

Fixes #5682

Docker-DCO-1.1-Signed-off-by: Paul Morgan <jumanjiman@gmail.com> (github: jumanjiman)