To avoid a watery potato salad, ensure the potatoes are cooked until just fork-tender and drained well. Letting them cool before adding the pesto can also help maintain the right consistency.