fix undefined method .list on CookbookData

This function is referenced in `CookbookData.load_files` but it is referenced by the name `.list`. Changed from `.list_directory` to `.list`.

This will block you from being able to upload cookbooks into a Chef server