Improve JediDebugInfo for envs This is taken out of https://github.com/davidhalter/jedi-vim/pull/836.