Use /repos/:owner/:repo instead of /repositories/:id

The rest of the documentation uses the former route but the examples were
using the latter.