Do some PID handling in package_create and package_update