Restore product from receipt (bug 981235)

I think I'd rather see this assert run with `done` called in `oninit`.