Handle "refresh on empty line" setting from the UI.

With this set, when we detect an empty line, we'll trigger refresh and
discard the line.  If not set, we'll import an empty line.

Change-Id: Ic3ccb1adbd0c7273c3affff82a2d111c378f2af3