Prevent rep from being sent before learnerId is set

[#59760058]