tweak to getExtraClasspath()

Don't add a slash to entries that already end in one,
and have an explanatory comment about why slashes are
being added to non-jar entries in the first place.