improve error message on validating downloaded cookbook