fix extract tar dir not present issue