Fix creating carts from manifests