Fix null pointer dereference in ExecUtil