[sr-dev] git:master:5ef8d7a9: registrar: restructured condition for clarity