tolerate null message text

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>