pygpo: Replace the use of SystemError with RuntimeError.