Merge pull request #6 from pre-commit/cannot_parse_ast

Give a better message when ast is not parseable.