Fix TarSum panic when getting Sum() with no data

closes #9241

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)