Fix appups for a minimal release created with reltool.

Since the branch was rebased on `master` this PR obsoletes #147. For discussion see the old PR.