Fixes #3417 : remove copySetCause: dead code

Part of the workflow code