Fixed using keyword with dot in name using long format.

For example, `MyLib.Keyword.with.dot` and also `My.Lib.Keyword.with.dot`
work now. Closes #1771.