Fix a bug with the asynchronous repodata fetching