Fix installation of package with no archives (such as ocp-build beta6).

This should fix https://github.com/OCamlPro/opam-repository/issues/761

This regression has been introduced by the recent merge of the 'quick-update' branch.