Fix IndexOutOfRange exception in classpath browsing process.

Do not add class files that are in the root of the classpath (means no package)