Handle case with no commits between tags.