Ignore invalid versions in git repos, ie. 0.5.0-rc1