Fix test delete_repo endpoint
The changes in lib/__init__.py is to avoid the collision when `private`
and `username` both are supplied the query was getting modified in such
a way that fork was counted in fork and repo owned, this commit fix that
by having a condition in which `username` is same as `private`