Unwrap if-else, use better variable name.

This makes code a bit easier to read.