namespaces: cleanup the code managed with PID_NS option