get_repo modification to allow access to repository objects not owned by logged in user

Very simple patch that allows me to get a repo object for a repository that is not owned by the logged in user. This is very useful for creating a new issue in that repo.

Tested using oauth and username and password. Both methods work.