It seems strange that this method returns an unmodified argument that it receives - doesn't this mean that the caller already knows tar_path since they passed it in?