fix #3920: wrong progress reporting for loc import