Increase readability of ternary statement in build method

Trying to grok the actionpack code, this line jarred a little, so moved the ternary statement up one line. All tests passing.