I think this is because the module name is no longer in the .spec file. Lines 71-73 of winapi_extract look for "name" in the .spec file, which no longer exists. Should we be using the file name as the module name?
Correct. Patch for this and other problem with winapi_extract coming soon.