Yes, a junction was played before 2 exploration turns
Here is a quick set up of the tiles during our play.
Tiles on top was in play, the sheep was on the asteroid path.
He used a junction to jump to the star path.
Then he did 2 successive explorations (lower tiles), and discover the loop.
And no more junction to play.