repo-upgrade: avoid a crash when multiple optimisation are specified

In Python 3, the type are no longer comparable and this expose the error.

Merge request reports

Loading