Fixes "section not found" when using -s

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.