1398: allow to specify a custom root when running with --import