[Version] Fix LUA error caused by 0th revisions.