diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 3ef0914907b1e5e7f16b826ff03ef5d9d5873b49..729598e2817ae2f7f0bd0f50d3e2223fcc7133fa 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -4,7 +4,7 @@ require "extend/ENV/std"
 require "extend/ENV/super"
 
 def superenv?
-  Superenv.bin && ARGV.env != "std"
+  ARGV.env != "std" && Superenv.bin
 end
 
 module EnvActivation