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