Fixed a bug in the edit_profile view that was breaking the edit profile
operation when a profile image was not provided.
This comes from the latest Formencode in python 3.x, this patch is a quick and dirty hack while upstream does not fix it.