set 'repo' variable to repo path