Transform code using pmod_pt module before checking

Helps suppressing the error "parameterized modules are no longer supported" which libraries like ChicagoBoss depend on.