Fix crashes in rake tasks when a site has an empty cluster
Fixes 14659.
I reproduced the issues by following the instruction to add a new site here, and it quickly raised the crashes reported by @pijacquo during the installation of Toulouse.
[A venir] Mise en place de quotas sur nos instances GitLab. Plus d'information sur : https://doc-si.inria.fr/pages/viewpage.action?pageId=129728565
[Coming soon] Quotas installation on our GitLab instances. More information: https://doc-si.inria.fr/pages/viewpage.action?pageId=129728565
La mise à jour de sécurité sans préavis est terminée. Désolé pour cette interruption de service de quelques minutes.
Fixes 14659.
I reproduced the issues by following the instruction to add a new site here, and it quickly raised the crashes reported by @pijacquo during the installation of Toulouse.