doctor: check_git_status in correct location
doctor: check_git_status in correct location

This would silently fail if HOMEBREW_REPOSITORY != HOMEBREW_PREFIX,
which is obviously a valid Homebrew setup.

Signed-off-by: Jack Nagel <43386ce32af96f5c56f2a88e458cb94cebee3751@gmail.com>

pseudocody/brew,ilovezfs/brew,toonetown/homebrew,hanxue/linuxbrew,rwhogg/brew,EricFromCanada/brew,sjackman/homebrew,AnastasiaSulyagina/brew,Homebrew/brew,EricFromCanada/brew,Homebrew/brew,mahori/brew,JCount/brew,amar-laksh/brew_sudo,nandub/brew,palxex/brew,reelsense/brew,vitorgalvao/brew,tonyg/homebrew,bfontaine/brew,MikeMcQuaid/brew,bfontaine/brew,amar-laksh/brew_sudo,mistydemeo/homebrew,nandub/brew,Linuxbrew/brew,konqui/brew,JCount/brew,Linuxbrew/brew,mgrimes/brew,alyssais/brew,vitorgalvao/brew,mistydemeo/homebrew,pseudocody/brew,nandub/brew,DomT4/brew,mgrimes/brew,muellermartin/dist,rwhogg/brew,staticfloat/brew,sjackman/homebrew,mahori/brew,tonyg/homebrew,pseudocody/brew,sjackman/homebrew,reitermarkus/brew,toonetown/homebrew,staticfloat/brew,claui/brew,aw1621107/brew,MikeMcQuaid/brew,bfontaine/brew,amar-laksh/brew_sudo,EricFromCanada/brew,zmwangx/brew,reitermarkus/brew,DomT4/brew,staticfloat/brew,claui/brew,claui/brew,reelsense/brew,alyssais/brew,gordonmcshane/homebrew,Linuxbrew/brew,konqui/brew,MikeMcQuaid/brew,gordonmcshane/homebrew,mistydemeo/homebrew,gordonmcshane/homebrew,alyssais/brew,muellermartin/dist,hanxue/linuxbrew,aw1621107/brew,mgrimes/brew,gregory-nisbet/brew,maxim-belkin/brew,reitermarkus/brew,konqui/brew,maxim-belkin/brew,ilovezfs/brew,Linuxbrew/brew,palxex/brew,muellermartin/dist,JCount/brew,jmsundar/brew,sjackman/homebrew,ilovezfs/brew,palxex/brew,MikeMcQuaid/brew,DomT4/brew,toonetown/homebrew,konqui/brew,Homebrew/brew,aw1621107/brew,zmwangx/brew,jmsundar/brew,gregory-nisbet/brew,mahori/brew,JCount/brew,zmwangx/brew,mahori/brew,jmsundar/brew,claui/brew,hanxue/linuxbrew,DomT4/brew,rwhogg/brew,maxim-belkin/brew,AnastasiaSulyagina/brew,AnastasiaSulyagina/brew,vitorgalvao/brew,Homebrew/brew,EricFromCanada/brew,gregory-nisbet/brew,tonyg/homebrew,nandub/brew,reitermarkus/brew,reelsense/brew,vitorgalvao/brew