I can confirm the switch is in the latch mechanism on the 2009 Hatchback Aveo. When I need to leave it open for a while I will swing the latch so it's as if the cargo hatch is closed and the lights will turn off.
Exactly where in the latch, I have no idea. Never had a reason to go digging for it either.