It doesn't if there is nothing being pushed., This block starts on line 85: refs.each do |ref|

Clearly it's skipped on the first Git HTTP call because refs is empty... Next time I could capture the traffic to see what exactly is being done.