Don't dereference nil pointers in healthchecks