fix: Throws on git remote
call outside git repo
#6586
Merged
git remote
call outside git repo
#6586