bugfix: fixed IndexError when Workflows log a zero-length message

e.g. <log></log>