assert that require() has a truthy path; fixes #4541