Fix resourcer execution during packaging process.