I don't think you need to do all this, since it's `Thread.currentThread.getContextClassLoader` you're checking, not `EssentialActionRunner`'s classloader.