kgimport:
- missed a few lines in error handling.

Signed-off-by: Stiffo90 <stiffo90@gmail.com>
Averege speed should now also be correct

Signed-off-by: Stiffo90 <stiffo90@gmail.com>