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.
La vérification des quotas de chaque projet est mise en place en mode non bloquant. Plus d'information sur : https://doc-si.inria.fr/pages/viewpage.action?pageId=146834656
Quota verification is enabled for projects in non-blocking mode. More information: https://doc-si.inria.fr/pages/viewpage.action?pageId=146834656
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.