Remove side effect in assertion in ProcessGetData

A side-effect was introduced into an assertion in 7a0e84d. This commit
fixes that.
Merge pull request #4287 from laanwj/2014_06_sideeffect

Remove side effect in assertion in ProcessGetData