Restore product from receipt (bug 981235)

I added a test, coercing to string isn't even necessary