I'd rather have this class defined only through the C-API. That'll also help in making the code inside `rugged_repo_new_with_backend` a bit simpler.