Don't know if the zip tie trick will work to retain that particular broken connector, but you could give it a try with appropriate size zip tie:
If that doesn't work...
There are repair pigtails available. They come with a few inches of wire, so just clip wires at damaged connector, solder on wires of repair pigtail, use heat shrink for protection. But you'll have to check to see if one is available for this sensor. If they list it as available, will probably have to order. I've never seen them sold by a dealership of any brand, they always want to sell you the harness section. But Autozone, O'reilly, Amazon, etc, sometimes have them. When it comes in, take sensor with you to make sure it is correct one.
Or you can get a connector section at junkyard, just clip the wires to leave you plenty to work with. That MAP sensor is probably used on a lot of GM products in that year range, so doesn't necessarily need to be exact same vehicle. Since you have the 2.0, check turbo/supercharged vehicles. Maybe sensor connector off a NA vehicle would also work. Again, take the sensor with you to make sure you get what you need.
Last, I don't trust a lot of parts store sensors. OEM or a good quality brand (some of them supply original parts to OEM). Sucks to replace a sensor, still have problems, waste time chasing the rabbit.
edit: let junkyard know what your intentions are if you go that route. They might not want you clipping a connector off a valuable engine harness off a supercharged C7 or something.
If that doesn't work...
There are repair pigtails available. They come with a few inches of wire, so just clip wires at damaged connector, solder on wires of repair pigtail, use heat shrink for protection. But you'll have to check to see if one is available for this sensor. If they list it as available, will probably have to order. I've never seen them sold by a dealership of any brand, they always want to sell you the harness section. But Autozone, O'reilly, Amazon, etc, sometimes have them. When it comes in, take sensor with you to make sure it is correct one.
Or you can get a connector section at junkyard, just clip the wires to leave you plenty to work with. That MAP sensor is probably used on a lot of GM products in that year range, so doesn't necessarily need to be exact same vehicle. Since you have the 2.0, check turbo/supercharged vehicles. Maybe sensor connector off a NA vehicle would also work. Again, take the sensor with you to make sure you get what you need.
Last, I don't trust a lot of parts store sensors. OEM or a good quality brand (some of them supply original parts to OEM). Sucks to replace a sensor, still have problems, waste time chasing the rabbit.
edit: let junkyard know what your intentions are if you go that route. They might not want you clipping a connector off a valuable engine harness off a supercharged C7 or something.