Graph: fix changegroup implementation

Small error I let slip through from last pull requests.