py: Fix emitcpy, to work with latest changes to PASS variables.