python append only if not already in list