Using /user/repo (current user's repositories) instead of /user/:username/repos proved to work.
The repository directory doesn't exist BEFORE cloning. Don't go there.