ConfigValidator: ensure that require-dev exists during override check

- Ensure that require-dev is present before checking for dependeny overrides.
- A small grammar update for the warning message.
Merge remote-tracking branch 'chr0n1x/fix-require-dev-warning'
Fix indenting, refs #2535