Added null condition check for mimetype

Change-Id: Ibddc9fec4618fd59c438a9f76df83aadae44f6d6
1 file changed