Improve message-id generation flow control for format-patch