Merge custom sections in localconfig on theme import

See #2062