[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).
Merge pull request #851 from jonas054/fix_show_cops

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