SAM-2234: Importing invalid XML file generates un-recoverable NPE crash

git-svn-id: https://source.sakaiproject.org/svn/sam/trunk@133267 66ffb92e-73f9-0310-93c1-f5514f145a0a