agent: don't accept unknown configuration directives

If an unknown configuration directive is present, it is better not to
ignore it as it can be a typo error.