Fixed bug in specifing branch name.