tap-unpin: simplify logic
tap-unpin: simplify logic

Closes Homebrew/homebrew#43260.

Signed-off-by: Baptiste Fontaine <bfee279af59f3e3f71f7ce1fa037ea7b90f93cbf@yahoo.fr>

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