Now that I have thought about it, this is not a weird rule. It does make sense conceptually. Once the last card is drawn the game ends -- proceed to endgame
OR
Once a 5th path is closed -- proceed to endgame.
It is, in fact, very consistent. I didn't see that before, but now I do.