Fix appups for a minimal release created with reltool.

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