Fix configuration classloader bug when system classloader not used