docs: def check_empty_locations(self, locations=None):
          """Fail if 'locations' is empty.
          """
          if locations is None:
              locations = self.locations
          if not locations:
              err_exit('mkrelease: option -d is required\n%s' % USAGE)