[web] Fixed bug where a commit was always added when coming from socket even if on wrong branch
[web] Fixed bug where a commit was always added when coming from socket even if on wrong branch

velocity-ci/velocity,velocity-ci/velocity,velocity-ci/velocity,velocity-ci/velocity