fix for issue #13, import no longer hangs when uribase has changed manually

Hi,

please accept my changes that quickly fix issue #13. 

Thank you very much!