Merge pull request #12899 from OatmealDome/release-tag-commits-ahead ScmRevGen: Set commits ahead to zero when on a tag