[sr-dev] git:5.0:a6acbf20: registrar: do not return 0 in some cases of failure for save()