lib/index.js: add warnings in case parsing the config fails