repo-upgrade: avoid a crash when multiple optimisation are specified
In Python 3, the type are no longer comparable and this expose the error.
All legacy (hg-git based) Projects have been automatically migrated to native with the upgrade of 2025-01-23
In Python 3, the type are no longer comparable and this expose the error.