check-py3-compat: use an absolute path in sys.path
The idea and rationale is similar to https://phab.mercurial-scm.org/D12599 (landed as 1b6e381521c5).
The idea and rationale is similar to https://phab.mercurial-scm.org/D12599 (landed as 1b6e381521c5).