Fixed a deadlock if the test classpath contained no directories