Fixes #6182 - Dynflowized repository update

- [x] Dynflowize repository update
- [x] Fix old tests
- [x] Make new tests
The previous `plan_action` calls use () around them.