Snake was not a literal term, his driving out of the snakes was about driving out the pagans. It should be noted however that he did not drive out the people but the religions, he spent his life converting the Irish people to Christianity, thus driving out the snakes. It was only in later years when people started to think of this literally that they went about trying to disprove it by noting that there never were any snakes there.