coll/index: Ensure dir names have a trailing slash

Ensure directories in the source index have trailing slashes (as
required by the L::Collect API).

Signed-off-by: Niels Thykier <niels@thykier.net>