Fix ppid regexp, get ppid list before assertions