He doesn't have to know about it to be able to get it.
^ This. Naruto didn't know about the Kyuubi being inside him for a good amount of his life, so Sasuke could awaken Rinnegan without knowing of its existance. Also, Sasuke doesn't know of the Rinnegan's existence as far as we have seen