Correctly handle unknown class names in the class loader