Change in gerrit-admin[master]: Fix get_maj_version function