Fixed bug in variable name in getExclusions()

Tried to get exclusions from a variable local to the function rather
than the class, resulting in the excluded experiments being overwritten
with an empty array.