Added a check to see if the sender length is greater than 0

This is a continuation of the last issue fixed by this branch, apparently it is possible to get a u'' value for origin.sender in addition to None.

Signed-off-by: Eldon McGuinness <eldon.mcguinness@gmail.com>