config parser: Improved error reporting on global options