fixed - params.branch parameter was not taking into account.

params.branch parameter was not used.
When adding a long list of Git repositories, only 'default' branch was added, even if I specified "--branch refs/heads/master" in parameter.