I'm not totally sure, but I think Puel might have spot him when he trained him for two years at Nice.
And to be fair, he was not really an hidden gem, he played in France and Portugal, the 5th and 6tth best leagues in the world, even in Champions League with Porto and is a Portuguese international who played the World Cup.