Backporting fix for quirk in checks, from #4127
Backporting fix for quirk in checks, from #4127

Fixes: `Warning: Invalid argument supplied for foreach() in /[xxx]/src/Config.php on line 761`
GDmac/bolt,bywatersolutions/reports-site,bywatersolutions/reports-site,bywatersolutions/reports-site,skript-cc/bolt,HonzaMikula/bolt,GDmac/bolt,HonzaMikula/bolt,GDmac/bolt,HonzaMikula/bolt,skript-cc/bolt,GDmac/bolt,bywatersolutions/reports-site,skript-cc/bolt,HonzaMikula/bolt,skript-cc/bolt