Bug 952608 - Prevent statusCode from being undefined, take 2