fix(FileMime): Correct access to undefined index (refs #4655)