Fix 'apt-get autoremove' being too agressive in Travis CI scripts

This should fix the issue seen in https://github.com/ocaml/opam-repository/pull/1601