config-parser: add missing return for an error case