raise SameNameError when an import sneaks past the pre-import check