Stefan Beller [off-list ref] writes:
Thinking about that we may want to not rely on such a hack,
but make it clearer.
But that is far from sufficient, isn't it?
You'd need to bypass "not a local repository", "shallow" and "is
grafted" anyway, so in that sense, that hack is not doing much.
If modules/X (or modules/X/) does not exist, it won't pass these
checks, so burdening the readers with slash trickery is not really
worth their time.