I didn't read it correctly the first time, and the thing I did wrong was to download the repo file to ~/bin/repo. What I had to do was type which repo, and then copy the newly downloaded file over this one (in my case this was /usr/bin/repo). So my steps were: