guess root_path when import_name is None