Set the reason correctly when running on App Engine.

Patch from Alain Vongsouvanh.

Reviewed in http://codereview.appspot.com/6422051/
1 file changed