[PATCH 21/58] buildman: Move commit numbering into determine_series()