fix bug introduced in https://github.com/composer/composer/pull/2375
Merge pull request #2467 from kimlai/bugfix_githubdriver

fix bug in GitHubDriver