fix size key error

Resolves KeyError raised during docker image upload. Unclear when this error surfaced. See http://fpaste.org/130414/96704791/