fixes location of local repository