Fix the issue in fetching the tar archive name