diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb index 16f69fbbc0..080adbbe5b 100644 --- a/Library/Homebrew/formula_cellar_checks.rb +++ b/Library/Homebrew/formula_cellar_checks.rb @@ -330,7 +330,8 @@ module FormulaCellarChecks end mismatches -= compatible_universal_binaries - universal_binaries_expected = tap_audit_exception(:universal_binary_allowlist, formula.name) + universal_binaries_expected = + formula.tap.present? && tap_audit_exception(:universal_binary_allowlist, formula.name) return if mismatches.empty? && universal_binaries_expected s = ""