[RFC] YouCompleteMe fixes after nvim namespace.

Just a couple of small fixes on YCM that went broken in #716.