Check to avoid trying to log task when no task information is present.
Check to avoid trying to log task when no task information is present.

Parsl/parsl,swift-lang/swift-e-lab,Parsl/parsl,Parsl/parsl,Parsl/parsl,swift-lang/swift-e-lab