check for null to avoid possible NPE

Description

None

Environment

None

Status

Assignee

Simon Tost

Reporter

Falk Tandetzky

Labels

None

Fix versions

Affects versions

3.8.1

Priority

Major