[sr-dev] git:5.1:b8698724: rls: avoid walking a null string