So I just rewatched that scene, and Loki figured it out, but not the correct reason why. Ravonna asked him about if he was guilty for crimes against the sacred timeline, and he said "the avengers traveled back in time no doubt to stop my ascent to God King. And believe me, anyone can smell the cologne of two Tony Starks". (Not verbatim)