`NoMethodError` in `Projects::JobsController#trace`

Description

Sentry shows NoMethodError being raised by Chunked IO mechanisms

Proposal

Do not call empty? on a NilClass.