def METHOD_NAME(self, environment=None):
    if self._sys_path is not None:
        return self._sys_path
    # The sys path has not been set explicitly.
    if environment is None:
        environment = self.get_environment()
    sys_path = list(environment.get_sys_path())
    try:
        sys_path.remove('')
    except ValueError:
        pass
    return sys_path