Fix for import path names treated as code

A (possible?) fix for the bug reported by Jay Han https://mail.google.com/mail/u/0/#inbox/14915ab4059b8074