Fixed null pointer error when started from watchdog

Signed-off-by: Anders Bech Mellson <anders@bechmellson.com>