Magic missile hits the caster
This has been discussed here, but the net reason is that magic missile isn't an attack (there is no roll.) Without an attack roll, there is no D20 to determine what you hit - you simply hit the target.
This is also supported by Jeremy Crawford:
The mirror image spell has no effect on magic missile, which doesn't involve an attack.
Can you even target an illusion?
Magic missile requires (emphasis mine):
Each dart hits a creature of your choice
The question of targeting an Illusion is generally handled here, but Xanathar's Guide to Everything goes further into providing some guidance (not rules, but guidance.)
The following is from Xanathar's Chapter 2 under Spellcasting:
If you cast a spell on someone or something that can’t be affected by the spell, nothing happens to that target, but if you used a spell slot to cast the spell, the slot is still expended. If the spell normally has no effect on a target that succeeds on a saving throw, the invalid target appears to have succeeded on its saving throw, even though it didn’t attempt one (giving no hint that the creature is in fact an invalid target). Otherwise, you perceive that the spell did nothing to the target.