Correctly reset import progress.

Progress is a `defaultdict` and we assume presence of any key. This
means we have to assign keys the default value instead of deleting
them. Fixes #873.