[SSSD] [PATCH] Guard against segfault in ping_check()