Only add empty path component when necessary
Only add empty path component when necessary

The fix prevents the insertion of double `/` in paths if the module name
is nested. This prevention isn’t necessary – all (?) systems deal with
double `/`, but it makes me queasy to have it in there anyway.

klmr/modules,klmr/modules