diff --git a/chef/lib/chef/knife/cookbook_upload.rb b/chef/lib/chef/knife/cookbook_upload.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/knife/cookbook_upload.rb
+++ b/chef/lib/chef/knife/cookbook_upload.rb
@@ -76,7 +76,7 @@ class Chef
           child_folders = cookbook_name 
           cookbook_name = File.basename(cookbook_name)
         else
-          child_folders = config[:cookbook_path].inject([]) do |r, e| 
+          child_folders = config[:cookbook_path].reverse.inject([]) do |r, e| 
             r << File.join(e, cookbook_name)
             r
           end
The reverse is required by CHEF-<I>