Only get rootfs when we need to calculate the image size

Docker-DCO-1.0-Signed-off-by: Michael Crosby <crosby.michael@gmail.com> crosbymichael