If an encoding returns None or an empty string, ignore the value.
If an encoding returns None or an empty string, ignore the value.

Change-Id: I5e9a8ba64e5c532d6c5fd2045cfc8a0cf43cd2af

dhellmann/athensdocket,dhellmann/athensdocket,dhellmann/athensdocket