Fixes to catch up with develop branch

* use request.head.repo.owner.login
* fix requests/request API