elpy-config: Remove superfluous duplicate newline.
Handle bug in Jedi about an unbound local variable.

Fixes #364.
Ignore a Jedi error when __loader__ is None.

Fixes #366.