On some systems, glob() will return false if no files were found.

glob() always returns false on error. This makes it impossible to determine an error case and also previously caused a PHP error as no false handling was in place. This commit adds handling of false values (by skipping config loading for that aspect).