core: print a warning if the configuration section can't be read

Fixes #278