BUGFIX on retrieving SHA1 id for a tag :
- 'git checkout -q GITREV -- ups' returns the last commit id which contains a
ups/ dir similar to the one in GITREV, this can be different from tag id
content if ups/ content hasn't changed in commit subsequent to GITREV

That's why :
git rev-parse --verify GITREV
seems better than :
git rev-parse HEAD