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.
[En cours] Mise en place de quotas sur nos instances GitLab. Plus d'information sur : https://doc-si.inria.fr/pages/viewpage.action?pageId=146834656
[In progress] Quotas installation on our GitLab instances. More information: https://doc-si.inria.fr/pages/viewpage.action?pageId=146834656
Prochaine maintenance programmée : lundi 07/10
Pour plus d'informations : https://doc-si.inria.fr/display/SU/Gitlab
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.