Fix double module path substitution, again.

For example, if the code is "Gl.cle←", ocp-index suggests "Gl.clear"
and Sublime substitutes "Gl.Gl.clear".

/cc @TheSpyder