Fix local hooks
The previous implementation was problematic:
- There was a boolean short-circuit that kept Cargo.toml without being updated
- It was not possible to ensure that commits were using always the "proper" version number.
The previous implementation was problematic: