Fix git url pattern. Make it configurable (#3426)