Fix duplicate entries in `opam config list`

This should fix #359