Avoid a few notices if proc_open() fails

Change-Id: I6e4032d34b308de9a36c3d11ade44a030c86df52