Revert "Only do formula class sanity checks once"
Revert "Only do formula class sanity checks once"

This reverts commit ace78b1f3a59a893c7068e485555acf792470080.

Fixes Homebrew/homebrew#30154.

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