autotest: removed 2nd getppid() call