Further improve the yaml error messages, check dependencies sections recursively. #152