Ensure that worker daemon uses proper git branch.