renaming the function cookbook_path_valid into get_cookbook_path (cosmetics)