cmd/doctor: fix Rubocop warnings.
cmd/doctor: fix Rubocop warnings.

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