Fix version resolution at exact tag.