UCJEPS-439: Check for undefined mimeType before attempting to parse it.