When expanding module import, only include "at" part if a location path is known.