Fix NO_PI detection in netns