Hasselback potatoes with green pesto