def morph_action_hook(self, action):
        if action.startswith('https://'):
            u = urlparse.urlsplit(action)
            request = urlparse.urlunsplit(('', '', u[2], u[3], u[4]))
        else:
            request = self.request_path + action
        return request
Update action to correct request path.
dataset/ETHPy150Open apache/libcloud/libcloud/common/google.py/GoogleBaseConnection.morph_action_hook