Use put_request for repos.edit

Name is also not required.

See [here](https://confluence.atlassian.com/display/BITBUCKET/repository+Resource#repositoryResource-PUTarepositoryupdate).