Correct pointer after moving repo