Version: add revision only if git is available