Minor fixes in extract_modules script

No match.