Avoid check-then-act pattern in clear_cache
Avoid check-then-act pattern in clear_cache

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