Tweaking the logic of Bundle.require.