FindPython: ensure reproductibility between CMake calls

Ensures, when CMake is re-launched with some artifacts specified by the user,
that the multiple runs of CMake give always the same result.

Fixes: #26778
1 file changed