Prevent NPE in case of cleared out log. See bug on hawtio...

https://github.com/hawtio/hawtio/issues/1621