m7-common: fix extractor script

Change-Id: Ied2bc254bcf4975d95438d03e30d77379b4be9e1
Merge "m7-common: fix extractor script" into cm-10.1