Revert "Revert "Correct the Python_module handling""
Revert "Revert "Correct the Python_module handling""

This reverts commit 52c7440eef20ede154b1754e56ef7f687455e92e.

stack-of-tasks/sot-dynamic-pinocchio,stack-of-tasks/sot-dynamic-pinocchio,stack-of-tasks/sot-dynamic-pinocchio