MDL-34346 Cache retrieved repositories