Fix nil upload creation.

fixes #93