checking should be done if the cookbook path exists. if not then the path should either be created or proper error should be displayed