Fix bug in cloning extra_config.

The bug was introduced in commit ee774d22.

Per gripe from Tom Lane.