Fixing nonexistent image upload failure

fixes bug 1197162

Change-Id: I731ae9f40829335017ecae4561e78da6e6ba910e