Fix issue to switch to gh-pages branch