krb5_wrap: Make sure we don't dereference a NULL pointer.