r10431: fix segfault when the pip open fails in 'net rpc' commands