integration tests: fix failing test
integration tests: fix failing test

If the test fails above `formula_file`’s definition this line fails
because `formula_file` is `nil`.

Closes #47663.

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

mactkg/homebrew,ablyler/homebrew,retrography/homebrew,jsjohnst/homebrew,gicmo/homebrew,brunchboy/homebrew,ilovezfs/homebrew,slyphon/homebrew,feelpp/homebrew,dgageot/homebrew,princeofdarkness76/homebrew,slyphon/homebrew,Homebrew/linuxbrew,pcottle/homebrew,Angeldude/linuxbrew,bukzor/linuxbrew,hakamadare/homebrew,dplarson/homebrew,reelsense/homebrew,alebcay/homebrew,yazuuchi/homebrew,nandub/homebrew,influxdb/homebrew,johanhammar/homebrew,base10/homebrew,apjanke/homebrew,dericed/homebrew,georgschoelly/homebrew,osimola/homebrew,nandub/homebrew,mactkg/homebrew,Asuranceturix/homebrew,sometimesfood/homebrew,Angeldude/linuxbrew,elyscape/homebrew,AlexejK/homebrew,ExtremeMan/homebrew,elyscape/homebrew,mactkg/homebrew,tschoonj/homebrew,drbenmorgan/linuxbrew,michaKFromParis/homebrew-sparks,ebouaziz/linuxbrew,tutumcloud/homebrew,jamer/homebrew,drewwells/homebrew,dplarson/homebrew,knpwrs/homebrew,utzig/homebrew,liamstask/homebrew,mkrapp/homebrew,filcab/homebrew,ento/homebrew,MoSal/homebrew,gawbul/homebrew,kodabb/homebrew,teslamint/homebrew,polishgeeks/homebrew,arnested/homebrew,quantumsteve/homebrew,recruit-tech/homebrew,ilovezfs/homebrew,joshfriend/homebrew,SteveClement/homebrew,dunn/homebrew,optikfluffel/homebrew,influxdata/homebrew,dickeyxxx/homebrew,skatsuta/homebrew,treyharris/homebrew,vigo/homebrew,totalvoidness/homebrew,ExtremeMan/homebrew,getgauge/homebrew,iandennismiller/homebrew,dgageot/homebrew,frodeaa/homebrew,getgauge/homebrew,marcwebbie/homebrew,miketheman/homebrew,jsjohnst/homebrew,johanhammar/homebrew,ExtremeMan/homebrew,Red54/homebrew,hanxue/homebrew,mkrapp/homebrew,theeternalsw0rd/homebrew,dickeyxxx/homebrew,dutchcoders/homebrew,tschoonj/homebrew,scorphus/homebrew,base10/homebrew,getgauge/homebrew,davydden/linuxbrew,danieroux/homebrew,ryanfb/homebrew,SteveClement/homebrew,slyphon/homebrew,sakra/homebrew,decors/homebrew,iostat/homebrew2,ralic/homebrew,bukzor/linuxbrew,jarrettmeyer/homebrew,optikfluffel/homebrew,influxdb/homebrew,davydden/linuxbrew,hongkongkiwi/homebrew,esamson/homebrew,pcottle/homebrew,zchee/homebrew,gnubila-france/linuxbrew,drewwells/homebrew,galaxy001/homebrew,polishgeeks/homebrew,filcab/homebrew,BrewTestBot/homebrew,ryanfb/homebrew,MartinDelille/homebrew,josa42/homebrew,dutchcoders/homebrew,marcwebbie/homebrew,esamson/homebrew,muellermartin/homebrew,thinker0/homebrew,Homebrew/linuxbrew,AlexejK/homebrew,princeofdarkness76/homebrew,ear/homebrew,thinker0/homebrew,redpen-cc/homebrew,apjanke/homebrew,dunn/homebrew,dickeyxxx/homebrew,hongkongkiwi/homebrew,sferik/homebrew,ablyler/homebrew,benjaminfrank/homebrew,ralic/homebrew,saketkc/linuxbrew,michaKFromParis/homebrew-sparks,OJFord/homebrew,galaxy001/homebrew,danieroux/homebrew,influxdb/homebrew,saketkc/linuxbrew,kodabb/homebrew,Red54/homebrew,iandennismiller/homebrew,tutumcloud/homebrew,utzig/homebrew,ybott/homebrew,royhodgman/homebrew,georgschoelly/homebrew,apjanke/homebrew,feelpp/homebrew,gawbul/homebrew,drewwells/homebrew,ebouaziz/linuxbrew,tutumcloud/homebrew,ExtremeMan/homebrew,cprecioso/homebrew,josa42/homebrew,esamson/homebrew,3van/homebrew,adamliter/homebrew,TaylorMonacelli/homebrew,treyharris/homebrew,cosmo0920/homebrew,kenips/homebrew,marcwebbie/homebrew,dongcarl/homebrew,MartinDelille/homebrew,sakra/homebrew,Linuxbrew/linuxbrew,getgauge/homebrew,afh/homebrew,yumitsu/homebrew,hongkongkiwi/homebrew,deorth/homebrew,afh/homebrew,bigbes/homebrew,galaxy001/homebrew,nandub/homebrew,dunn/homebrew,decors/homebrew,decors/homebrew,SteveClement/homebrew,BrewTestBot/homebrew,cosmo0920/homebrew,feelpp/homebrew,pdxdan/homebrew,sakra/homebrew,bukzor/linuxbrew,Homebrew/homebrew,Asuranceturix/homebrew,liamstask/homebrew,kevinastone/homebrew,marcwebbie/homebrew,danieroux/homebrew,Homebrew/homebrew,cosmo0920/homebrew,eighthave/homebrew,keith/homebrew,davydden/linuxbrew,mmizutani/homebrew,scorphus/homebrew,gicmo/homebrew,base10/homebrew,josa42/homebrew,skinny-framework/homebrew,jarrettmeyer/homebrew,ybott/homebrew,SuperNEMO-DBD/cadfaelbrew,theeternalsw0rd/homebrew,pcottle/homebrew,mmizutani/homebrew,AlexejK/homebrew,TaylorMonacelli/homebrew,kodabb/homebrew,royhodgman/homebrew,sjackman/linuxbrew,dutchcoders/homebrew,ablyler/homebrew,royhodgman/homebrew,menivaitsi/homebrew,pcottle/homebrew,utzig/homebrew,SuperNEMO-DBD/cadfaelbrew,dongcarl/homebrew,LinusU/homebrew,chadcatlett/homebrew,jconley/homebrew,kevinastone/homebrew,menivaitsi/homebrew,MoSal/homebrew,sometimesfood/homebrew,cscetbon/homebrew,SteveClement/homebrew,iandennismiller/homebrew,pcottle/homebrew,ilovezfs/homebrew,frodeaa/homebrew,dericed/homebrew,Angeldude/linuxbrew,drbenmorgan/linuxbrew,influxdata/homebrew,teslamint/homebrew,alebcay/homebrew,iandennismiller/homebrew,youtux/homebrew,mobileoverlord/homebrew-1,3van/homebrew,jconley/homebrew,MartinDelille/homebrew,base10/homebrew,muellermartin/homebrew,johanhammar/homebrew,MartinDelille/homebrew,LinusU/homebrew,Asuranceturix/homebrew,reelsense/homebrew,dongcarl/homebrew,hanxue/homebrew,polishgeeks/homebrew,redpen-cc/homebrew,sakra/homebrew,sferik/homebrew,youtux/homebrew,arnested/homebrew,cprecioso/homebrew,totalvoidness/homebrew,jarrettmeyer/homebrew,polishgeeks/homebrew,yazuuchi/homebrew,DoomHammer/linuxbrew,menivaitsi/homebrew,reelsense/homebrew,ralic/homebrew,galaxy001/homebrew,utzig/homebrew,Red54/homebrew,eighthave/homebrew,kevinastone/homebrew,ento/homebrew,dutchcoders/homebrew,emcrisostomo/homebrew,benjaminfrank/homebrew,johanhammar/homebrew,feelpp/homebrew,Asuranceturix/homebrew,reelsense/linuxbrew,davydden/linuxbrew,OJFord/homebrew,deorth/homebrew,dericed/homebrew,teslamint/homebrew,OJFord/homebrew,saketkc/linuxbrew,dalanmiller/homebrew,yazuuchi/homebrew,adamliter/homebrew,scpeters/homebrew,scpeters/homebrew,slyphon/homebrew,optikfluffel/homebrew,eighthave/homebrew,reelsense/linuxbrew,nandub/homebrew,knpwrs/homebrew,osimola/homebrew,skinny-framework/homebrew,kenips/homebrew,gicmo/homebrew,apjanke/homebrew,retrography/homebrew,chadcatlett/homebrew,vigo/homebrew,Linuxbrew/linuxbrew,saketkc/linuxbrew,haihappen/homebrew,royhodgman/homebrew,bigbes/homebrew,yazuuchi/homebrew,SuperNEMO-DBD/cadfaelbrew,scorphus/homebrew,mmizutani/homebrew,brunchboy/homebrew,Linuxbrew/linuxbrew,pdxdan/homebrew,mmizutani/homebrew,kodabb/homebrew,afh/homebrew,gnubila-france/linuxbrew,Homebrew/linuxbrew,Linuxbrew/linuxbrew,dalanmiller/homebrew,Red54/homebrew,TaylorMonacelli/homebrew,booi/homebrew,sferik/homebrew,arnested/homebrew,osimola/homebrew,cscetbon/homebrew,keith/homebrew,ebouaziz/linuxbrew,zchee/homebrew,Asuranceturix/homebrew,osimola/homebrew,recruit-tech/homebrew,totalvoidness/homebrew,MoSal/homebrew,gnubila-france/linuxbrew,cosmo0920/homebrew,sjackman/linuxbrew,zchee/homebrew,jconley/homebrew,hongkongkiwi/homebrew,booi/homebrew,kenips/homebrew,dgageot/homebrew,Chilledheart/homebrew,benjaminfrank/homebrew,vigo/homebrew,joshfriend/homebrew,elgertam/homebrew,Chilledheart/homebrew,miketheman/homebrew,reelsense/homebrew,benjaminfrank/homebrew,danieroux/homebrew,mobileoverlord/homebrew-1,emcrisostomo/homebrew,redpen-cc/homebrew,elgertam/homebrew,brunchboy/homebrew,yumitsu/homebrew,drbenmorgan/linuxbrew,sometimesfood/homebrew,haihappen/homebrew,reelsense/linuxbrew,elyscape/homebrew,vigo/homebrew,retrography/homebrew,Angeldude/linuxbrew,hanxue/homebrew,OJFord/homebrew,dunn/homebrew,mkrapp/homebrew,skatsuta/homebrew,bigbes/homebrew,influxdb/homebrew,SuperNEMO-DBD/cadfaelbrew,theeternalsw0rd/homebrew,skinny-framework/homebrew,treyharris/homebrew,alebcay/homebrew,skinny-framework/homebrew,skatsuta/homebrew,bigbes/homebrew,keith/homebrew,quantumsteve/homebrew,frodeaa/homebrew,adamliter/homebrew,ryanfb/homebrew,LinusU/homebrew,miketheman/homebrew,joshfriend/homebrew,DoomHammer/linuxbrew,ybott/homebrew,hakamadare/homebrew,teslamint/homebrew,dickeyxxx/homebrew,totalvoidness/homebrew,drewwells/homebrew,jamer/homebrew,thinker0/homebrew,knpwrs/homebrew,yumitsu/homebrew,zchee/homebrew,theeternalsw0rd/homebrew,kenips/homebrew,michaKFromParis/homebrew-sparks,mobileoverlord/homebrew-1,georgschoelly/homebrew,dericed/homebrew,jamer/homebrew,muellermartin/homebrew,gicmo/homebrew,bukzor/linuxbrew,cscetbon/homebrew,optikfluffel/homebrew,Chilledheart/homebrew,elyscape/homebrew,3van/homebrew,filcab/homebrew,SteveClement/homebrew,scorphus/homebrew,recruit-tech/homebrew,MoSal/homebrew,hakamadare/homebrew,eighthave/homebrew,thinker0/homebrew,AlexejK/homebrew,Chilledheart/homebrew,frodeaa/homebrew,sometimesfood/homebrew,dgageot/homebrew,drbenmorgan/linuxbrew,ablyler/homebrew,jamer/homebrew,afh/homebrew,ryanfb/homebrew,lrascao/homebrew,mobileoverlord/homebrew-1,georgschoelly/homebrew,decors/homebrew,haihappen/homebrew,ento/homebrew,tschoonj/homebrew,ear/homebrew,ear/homebrew,haihappen/homebrew,dongcarl/homebrew,DoomHammer/linuxbrew,DoomHammer/linuxbrew,Homebrew/homebrew,menivaitsi/homebrew,sjackman/linuxbrew,sferik/homebrew,gnubila-france/linuxbrew,BrewTestBot/homebrew,emcrisostomo/homebrew,filcab/homebrew,elgertam/homebrew,lrascao/homebrew,influxdata/homebrew,iostat/homebrew2,iostat/homebrew2,ralic/homebrew,esamson/homebrew,BrewTestBot/homebrew,chadcatlett/homebrew,deorth/homebrew,cprecioso/homebrew,jarrettmeyer/homebrew,lrascao/homebrew,alebcay/homebrew,cprecioso/homebrew,hakamadare/homebrew,sjackman/linuxbrew,recruit-tech/homebrew,retrography/homebrew,3van/homebrew,jsjohnst/homebrew,dplarson/homebrew,quantumsteve/homebrew,dalanmiller/homebrew,arnested/homebrew,ilovezfs/homebrew,pdxdan/homebrew,treyharris/homebrew,princeofdarkness76/homebrew,scpeters/homebrew,liamstask/homebrew,princeofdarkness76/homebrew,jconley/homebrew,miketheman/homebrew,youtux/homebrew,skatsuta/homebrew,gawbul/homebrew,LinusU/homebrew,redpen-cc/homebrew,jsjohnst/homebrew,elgertam/homebrew,dalanmiller/homebrew,muellermartin/homebrew,liamstask/homebrew,youtux/homebrew,keith/homebrew,kevinastone/homebrew,booi/homebrew,influxdata/homebrew,mactkg/homebrew,ear/homebrew,quantumsteve/homebrew,pdxdan/homebrew,ybott/homebrew,TaylorMonacelli/homebrew,reelsense/linuxbrew,Homebrew/linuxbrew,ebouaziz/linuxbrew,tutumcloud/homebrew,adamliter/homebrew,iostat/homebrew2,scpeters/homebrew,brunchboy/homebrew,Homebrew/homebrew,ento/homebrew,tschoonj/homebrew,emcrisostomo/homebrew,dplarson/homebrew,knpwrs/homebrew,hanxue/homebrew