Fix pexpect import path

Fix the pexpect import path so that the script works even if there is no
system-level pexpect library installed.