check that given user_list is a list
Merge pull request #22 from m-lab/fix-sync-users

check that given user_list is a list