Handle error when looking up retained packages
Make tests run again