always execute import-once in the same way. Fixes #1898