The path is baked into the kikit.exe when the pip package is installed, if pip uses python from kicad 7’s installation then that’s what pip installed package will use. To get rid of it purge the pip kikit package and install it again from kicad 8 command prompt.