[COOK-3091] Check that Chef::Config[:config_file] is set before using it

Ticket: http://tickets.opscode.com/browse/COOK-3091

At least on some ChefSpec setups the `Chef::Config[:config_file]` seems to be `nil` and then `IO.read` raises an exception.