Only resets repoOptions when the request is successful