Does it effect the operation? The upper pulley is the one that is important as far as alignment with the cassette. As long as the chain isn't clanking on the bottom of the cage/falling off, you're good to go.
BTW, starting with that generation (9000) of XTR--and with all the new stuff--Shimano put an intentional bend like that into the cage. Points the chain towards the chainring, and helps it run quieter/wear the lower pulley less quickly.
Check to see if your pulley is cracked, though. They really don't like getting hit like that.