fix(gutenbuild): ensure we are on master before building
fix(gutenbuild): ensure we are on master before building

gutenbuild can sometimes fail halfway through the process. In those cases,
we should ensure that we are on the master branch first rather than restore the master branch later.

deis/workflow,deis/workflow,deis/workflow