Fix valid characters in docker image names