Don't register or listen for events if WP is doing an import.

Re-importing your site's content is not the recommended way to
retrospectively award achievements to your users. A tool will be
developed for this purpose in the future.