Moved code block that catches the case where both the defaults file and the
json defaults flags were set (outputting a sensible error and exiting); without
this change that edge case was not caught