"Section not found" error when using -s switch on differently named branch

When using -s command line switch, lookup of gitftpignore
info from .git/ftpdata file fails as the switch is ignored
there and the branch name is used. This commit fixes the bug.