doctor: skip git origin check without brew repo

Likely fixes #18324.
winexe: depends on autoconf

Closes #18395.