Fix legacy map importer. Fixes #6143.
Merge pull request #6212 from pchote/mapimport

Fix legacy map importer.