The document might sound confusing at first due to the "stand at the start/end of the bar". If you ignore it, everything is pretty much clear.
1. The direction of the bar is fixed, it doesn't reverse whether you are "standing" or facing at the start or end of the bar. It is always from start point to end point. To determine the direction, you can either edit the rebar family or try to turn off the hook at start of the rebar.
2. The normal is the normal vector of the plane where you place the rebar. You can determine this by changing the distribution rule of rebar from "Single" to any other rule, and the rebar will be "copied" and "place" from the original rebar till the end of host object according to the direction of normal vector.
3. The right vector is cross product of direction and normal vector, conform to the right hand rule. Now, any hook that turns to the direction of the right vector will be considered right-sided and vice versa.
With the explanation above, the method return the correct answer. I guess that you were confused by the "stand at the start/end of the bar" part that you interpreted it to "face the direction of the start/ end point". Therefore, it is easy to be tricked into thinking 'if I stand at the end, the bar direction is start - end, if I stand at the start, the bar direction is end- start. " Thus, it leads to your conclusion.
Hope this helps.
