Git version tag returning null