Awe; I would have done the same thing.
I know how those work hoodies can be; Mark's have iron shavings, insulation, etc. at the end of the day.. poor kitty! lol. But it was probably the safest and warmest place she could get to.. glad you found her.