ims_registrar_pcscf: Safety check, if (r) is set (caused a crash)