fix ~ improve robustness of scoop and bucket updates
fix ~ improve robustness of scoop and bucket updates

* improve handling of detached HEAD states
  - add heuristic search for "current branch" for update
* improve handling of divergent local branches, forcing reversion to the upstream baseline

rivy/scoop