autoresolve git root without calling any commands, fix #186