Minor logic refactor for path to Python func
Forcing requests to ycmd to ignore local proxies

Fixes #641