rewrite category cache with API data after fetching from package (bug 1029612)