Fixes logging of errors on push requests from master
Fixes typo in method name

This is a backport of 65bfd15becfbe8e28088d11c28cdf736c26508e5