GitHub API: Ensure cache is used when an exception occurs