run-tests: explicitly track that pythondir was inferred
If we want to know that something happened, we should simply track that this
things happened.
This will be useful to start using tmpbindir more in a different form.
Differential Revision: https://phab.mercurial-scm.org/D11043