Removed the value element if already exist

The package doesn't work with Tigase xmpp server:
Tigase sends an empty <value/> element in registration form and this package only appends a new value which cause Tigase to fail.
Fixed by removing the value element if already exists.