Handle user profile image upload without an image

The image upload button on the profile edit pages threw a 505 if clicked without an image to upload.