Fix package promise result leaking out into reporting.

It is an internal promise, and should always be reported kept, but
sometimes it would leak out of the function by means of the return
value.