Fixed message generation when IMC commit log contains special
characters.