Don't strip leading spaces when checking for the DEFAULT section

Leading spaces are used for line continuation, so we shouldn't be
stripping leading spaces when we are checking for existance of the
DEFAULT section.  This patch changes the stripping to only strip
trailing whitespace.