[feature] After restore: offer to rebuild app repo automatically

After a restore, the package repository is not updated automatically, so e.g. the dashboard may not show restored apps. Extend the restore utilities to optionally rebuild the repository if the user wants it.