Well, they would need to see where the item is in the chest cavity after the injury. And it's not like they're gonna take another MRI afterwards to do that, so...
That said, id be surprised if the plug didn't just... Exit the person's body, through existing holes or new ones, once they were in the MRI. Those magnets are strong.