I'm unsure on why this was needed. the gh-pages branch should be in the repo anyway and it should be created on the checkout that we do later on. 

am I missing something here?