Fix git tag versioning

Git tags were'nt being detected properly, breaking the version strings