Fix retrieval of process information.

An exception was raised when trying to retrieve process
information of a non-local process.