get top most directory in tar archive