cmd/upgrade: fix Rubocop warnings.
cmd/upgrade: fix Rubocop warnings.

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