Fix break when publishing an empty repo

I have two comments on this line.

1. Consider using a dictionary style string replacement otherwise this string may not be possible to internationalize correctly. Some languages structure sentences in a way that causes the replaced portions of the string to be reordered, and a positional style doesn't allow for that no matter what the translator does . Also the key used in the dictionary that is included in the string gives the translator a better idea of what that term actually is in the sentence.

2. Consider moving the actual logging of the message to its own line.