Added extra check to make sure extracted source tar has expected directory name.