Random tweaks.

- Move updatehome to end of update; allow main package update requiring
  sudo to run first.
- Move path function to where it makes more sense.
Fix ssh-init-home.