Gets the most appropriate provider manager depending on config.

def _get_provider_manager(self, osid, local=False):
        """Gets the most appropriate provider manager depending on config."""
        return get_provider_manager(osid,
                                    runtime=self._runtime,
                                    proxy=getattr(self, '_proxy', None),
                                    local=local)