Just reflash any stock firmwares, update the profiles and flash back to CM again. Alternatively, there seems to be a multiboot solution that lets you temporaily boot a stock firmware from SD card, though I'm not sure if it works with your ROM...
Sent from Google Nexus 4 @ CM11
Google Nexus 4 (CM11 Nightly)
Sony Xperia SP (CM11 Nightly)
Google Nexus 7 (2013, WiFi) (CM11 Nightly)
Samsung Galaxy Gear (Null_ Build 23)
HTC Incredible S (CM11 Unofficial
Nokia N97-1 (RM-505 22.0.110 Pre-Hacked)
Multi-core smartphones are like M&Ms:
They don't melt on the store shelf... Just in your hands.