[Fix #848] Make --show-cops print current configuration

A bug made it show the configuration for the parent directory of the
current directory (usually that would be the default configuration).