fix error on "showconfig" with no paremeters (now shows root config)

depressionbot was erroring out on the line configKey.length, when no config key was given. just added a check to make sure configKey is set before checking the length, and it now works as it should.