It should be fixed now.
I had tagged v2.4.0 commit in stable, but then we delayed the release by a day, so when I did the bump the next day I updated the timestamp on the commit and then pushed it and the new tag. But bumping the timestamp in git creates a new commit. The v2.4.0 tag was on an orphaned commit, so git describe HEAD 2>/dev/null was finding the wrong tag. Anyway, it’s fixed.