Fix repo url extraction