Change repository directory