= core: avoid error when TraceContext is empty