Git tag version logic gets the latest tag without checking that HEAD has been inherited from it. PR #48 addressed this (but has been reverted) as the jenkins git version 1.8 is too old for git tag --merged (in git 2.7+)