Fixed a crash in the ProcessIsolator.

Review: https://reviews.apache.org/r/12179