Raise an error if the current directory does not contain a cookbook