diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 612e4b7053f726d877482a09b41606f1f1791aff..ede1b35abd8652266edfb1ce5f3fdd32431186b5 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -176,7 +176,7 @@ class BuildError < Homebrew::InstallationError
 
       unless formula.core_formula?
         ohai "Formula"
-        puts "Tap: #{formula.tap}" unless formula.tap == "mxcl/master" # tap lies about non-tap externals
+        puts "Tap: #{formula.tap}"
         puts "Path: #{formula.path.realpath}"
       end
       ohai "Configuration"
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 2833951243ddacfda00e1200262688b79555187e..cec9857f7a8165377ef1b2324e1c0ddd8acaad32 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -489,9 +489,10 @@ class Formula
   def tap
     if path.realpath.to_s =~ %r{#{HOMEBREW_REPOSITORY}/Library/Taps/(\w+)-(\w+)}
       "#$1/#$2"
-    else
-      # remotely installed formula are not mxcl/master but this will do for now
+    elsif core_formula?
       "mxcl/master"
+    else
+      "path or URL"
     end
   end