fix lab/src/import2db.py to make duplocation detection work