Ticket #169: Fix traceback when adding or removing clients

Due to 84a88cb3, when using 'shine update', adding or removing clients,
raises a traceback. This is now fixed.