Fix reading of git tags for .pc file versioning.