Try to improve the messages display when uninstalling a package, to have hints of what could be the cause of #642
Fix tests.

Because of 30ff64067ef23a2bc76eed26f336a9355a29bae7, `opam list` can now be empty.