diff --git a/chef/lib/chef/knife/cookbook_site_vendor.rb b/chef/lib/chef/knife/cookbook_site_vendor.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/knife/cookbook_site_vendor.rb
+++ b/chef/lib/chef/knife/cookbook_site_vendor.rb
@@ -45,7 +45,8 @@ class Chef
           config[:cookbook_path] = Chef::Config[:cookbook_path]
         end
 
-        if ! File.directory? config[:cookbook_path].first
+        # Check to ensure we have a valid source of cookbooks before continuing
+        unless File.directory?(config[:cookbook_path].first)
           Chef::Log.error( File.join(config[:cookbook_path].first, " doesn't exist!.  Make sure you have cookbook_path configured correctly"))
           exit 1
         end
[CHEF-<I>] cleanup