Fix for Issue 12, custom kernel classpath

did a tiny refactor to that method, just to make it slightly clearer what's going on.