Handle string returned by 'default' correctly.

We need to handle the string returned by 'default' in the same way we handle
the string returned by 'status' since the resulting flags are compared later.