templates / remotes--on commit Avoid a divide by zero if there's no messages to send. (1cd88cc)
   1: this is just to ensure the directory exists.