Makes qualname work when module already in name
Do not have to use buffer here.  Closes #1438