Here's a fix to customise repository url pattern

Usefull when using other systems than github or github enterprise