Check if class path exists before creating classmap.