BaseTools: use set instead of list for a variable to be used with in