The finish line is where the gate is. Lee crossed it before time expired, but the judges pulled a Jim Joyce and made the wrong call. That's my point of view. Worse, it happened to my Orange Iguanas!

I can imagine Kirk saying the following:
"Yes! He got out with 2 seconds! Wait! The judges say he didn't get out! They clearly made the wrong call, but what they say is official, and they won't reverse it! They're convinced the wrong call is the right! I can't believe such a heartbreaking finish happened for this team! They earned the trip to San Antonio, then it was just taken away! Ah well, they get the sports package and laptop, but San Antonio was robbed from their hands!!! We're out of time, see you later on another great Legend on the Hidden Temple! Remember, it's not just Legends, it's Legends: Rebirth!"
Kirk is seen comforting the Orange Iguanas, who are both crying extremely hard. They are arguing with the judges, and are about to fight, but fortunately Kirk is able to break it up. Lee and Samantha are eventually awarded the trip to San Antonio after the episode.