[JENKINS-22580] Fixing a NPE when one of the grouped projects had no builds at all