Test adding a local repository