Fix truncate repos. Added path option to import