expand variable in project names looking for unresolved names
also simplify getProjectList, as Items.fromNameList already do trim names.