diff --git a/lib/travis/model/job/queue.rb b/lib/travis/model/job/queue.rb
index <HASH>..<HASH> 100644
--- a/lib/travis/model/job/queue.rb
+++ b/lib/travis/model/job/queue.rb
@@ -30,7 +30,7 @@ class Job
 
     class << self
       def for(job)
-        queues.detect(lambda { default }) { |queue| queue.matches?(job) }
+        queues.find(-> { ifnone }) { |queue| queue.matches?(job) }
       end
 
       def queues
@@ -48,6 +48,13 @@ class Job
           SUDO_DETECTION_REGEXP =~ s.to_s
         end
       end
+
+      private
+
+      def ifnone
+        Travis.logger.info("job matches queue #{default.name} via ifnone proc")
+        default
+      end
     end
 
     attr_reader :name, :attrs
Log in Queue.for when default_queue is selected