[BUGFIX] Avoid division through 0 in importer

Change-Id: Ia084aa24c2a29a6ca17293262eeac64b5b7e55ad
Reviewed-on: https://review.typo3.org/30769
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer