Returns a unique list of module names that this module depends on.

def needs(self):
        """Returns a unique list of module names that this module depends on."""
        result = []
        for dep in self.dependencies:
            module = dep.split(".")[0].lower()
            if module not in result:
                result.append(module)

        return result