This extracts the message we want to log closer to the source, and
lets us avoid parsing the response stream of {Post,SSH}UploadPack
which is a hot code path.
This is not going to make a huge difference, but it is cleaner from a maintenance perspective, and it saves CPU cycles.