Do not crash on bad source class.
Prevent crash on nonexistent plagiarism class or source class.