Modify repository directory.