fixed capnotify_appname when branch is specified

had a typo where it was putting "name" in the name if the branch was
specified