Cleaner classpath retrieval