Detect some errors before grokking the configuration

This way we avoid interacting with the user when we know she has
forgotten to invoke a command or has invoked an invalid one.

Signed-off-by: Gustavo L. de M. Chaves <gnustavo@cpan.org>