avoid NPE

Avoid NPE error that was making Travis fail: https://travis-ci.org/debrief/debrief/builds/40660014#L3042