Remove root package when generate tagpath