Don't trigger "already has an import" ourselves

This change ensures that including a module which doesn't export any
functions doesn't cause the "already has an import sub" exception to be
triggered.