If we trim trailing newlines, then wouldn't we get something like the following? It feels to me like there should be some additional division between the listing of the different repositories' results.

Repository XXX

Message
Repository XXX

Message