move initialization of @map earlier

in case no content host gets created due to an error, @map won't get initialized and will be accessed in popst_import
allow content view --delete to be executed multiple times