strip empty extension for the PhoneField