Here's a fix to allow to customise repository pattern

Usefull when using other systems than github.