Handle a specific AttributeError in Jedi

This is a workaround for davidhalter/jedi#431, which should be
fixed in the next Jedi release.

Fixes #272.