Refactor `auto-package-update.el` as an independent package.