@timholy has noted that a lot of Pkg code gets invalided by new methods. That got me thinking: we don't need to load Pkg most of the time at all and when we run commands in the pkg> repl mode, we don't even need to do that in the main Julia process: we could have a separate Julia+Pkg sysimg just for running Pkg commands.