bump
Please provide a list of steps which will show the problem consistently for someone trying to investigate the problem.
May be due to not having configured the job to prune stale branches. If prune stale branches is not enabled in the job, then the local workspace will retain branches that no longer exist on the master.