This is required by the check-fast target because each test is slurped up into a submodule.
resolve must ignore syntax context when comparing module names