MDL-34346 Correctly set repository current context
MDL-34346 Cache retrieved repositories