wrap require to make package-root-relative requires nicer