Pkg.update in Julia 1.5 uses github

On Julia 1.8.5 on Linux, it seems the “registry rm+add” procedure may still add the Github URL:

@v1.8) pkg> registry rm General
    Removing registry `General` from ~/.julia/registries/General

(@v1.8) pkg> registry add
  Installing known registries into `~/.julia`

(@v1.8) pkg> registry status
Registry Status 
 [23338594] General (https://github.com/JuliaRegistries/General.git)

Is it because of my ~/.julia directory (or other) contains spoiled content from older Julia version?