Implement correct error message for failed process expansion.