Don't try to truncate payloads with 'trace' if that key doesn't exist.

In normal situations this shouldn't happen never. Perhaps only for message reporting instead of exceptions.