Fix PisteRepository and Piste after refactoring