a) Added code to check whether the cookbook_path directory is empty or not and skipped chef-solo execution if it is empty
b) Downloading cookbook path block is executing always even if there is no URL mentioned - Implemented condition to check whether there is -r option mentioned and then executing the download cookbooks block
c) Made download cookbook path as a separate block from changing recipes extraction path block.