Use new_pkg not result. fixes #471