Fix git remote detection when branch.<>.remote=. (#324)
Fix git remote detection when branch.<>.remote=. (#324)

We recursively get remote from upstream branch until we find either no
upstream or find a real remote.
Deepomatic/dmake,Deepomatic/dmake,Deepomatic/dmake,Deepomatic/dmake