Add logic to skip bad_obsid exclusion if not supplied

This previously just checked if the file existed; the change
also skips the exclusion if the option has not been supplied
in the config.