CHEF-4115: fixed config_file path lookup in exception text
added tests for CHEF-4115