diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb
index 14c3e93d8ac3b561f0b9a757007042becf7aa0a6..84960e7eaaea33cbea196761cfd1bbef65e19bd1 100644
--- a/Library/Homebrew/tab.rb
+++ b/Library/Homebrew/tab.rb
@@ -15,7 +15,7 @@ class Tab < OpenStruct
       "used_options" => build.used_options.as_flags,
       "unused_options" => build.unused_options.as_flags,
       "tabfile" => formula.prefix.join(FILENAME),
-      "built_as_bottle" => !!ARGV.build_bottle?,
+      "built_as_bottle" => build.bottle?,
       "poured_from_bottle" => false,
       "tapped_from" => formula.tap,
       "time" => Time.now.to_i,