Improve xmpp filter branch

Allow partial matches on branch name