Fixed variable name in the Repo->edit() method

I've replaced wrong $repoName with $repo variable.