tests: revert modification to ARGV at end of test
tests: revert modification to ARGV at end of test

Similar to 6fc1747e0550545b4fe80f5a1854d16dd2b08afe. I hadn't seen any
test failures caused by this, but I noticed it in the process of
trackign that down and it's an accident waiting to happen.

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