loader: improve association of anonymous modules loaded through require