python: Prevent potential build failure

that is caused by not calling the right (newly built)
python binary.

Fix #20245 hopefully.