Added version number verification against github API using tag names

I've just followed the same sintax and error handling the developer of the original repo has used.