Fixes error when config client is unconfigured

However the error is only appearing on Travis CI on Ruby 1.9.3 even
though obviously the intended error (as per test) is not returned in the
implementation.