[sr-dev] git:5.1:74b8fbf0: topos_redis: check the branch value to avoid using uninitialized fields