runner.py: Fixed bug for first step chain == None in PTRunner