fix repo URIs if they are clone URLs
log if no def