Fix indentation style

Indent `if ... elsif ... end` block depper than the variables being
assigned, which is the recommended style by the community-driven Ruby
style guide.