fix output of adding the same package twice if no constraint satisfied