'Add `dist` to the distribution map'

def add(self, dist):

    if ((dist.location not in self.paths) and ((dist.location not in self.sitedirs) or (dist.location == os.getcwd()))):
        self.paths.append(dist.location)
        self.dirty = True
    Environment.add(self, dist)
