Version: fix revision calculation
Merge branch 'Ansa89-trivial-fix'