Adapt to new Transform::Config::m_toSkip.

(cherry picked from commit c2720844b035a8c7bd35651a0b33b1fd5d3b3351)