lib/packaging: Set up `user/after-init-hook` that is run after package init