MB-6972:  remove -b from git checkout if BRANCH is master since it already exists

Change-Id: I5e41c2deab4fff4cdee7c52878ed34ee6d8d477a