Version of find_python_command that accepts an injected
CommandRunner. Tests inject a MockCommandRunner that returns
Some(...) for python3 --version to exercise the success arm
without a real Python on PATH.
Pure parser for python -c "import site; print(...); print(site.getusersitepackages())" stdout. Splits the output on
newlines, trims each line, discards empty lines, and returns the
remaining lines as PathBufs. Extracted so the path-derivation
logic is unit-testable without a real Python interpreter.