launcher: fix inf-loop bug in ClasspathEntry (fixes #22)