Use gh-pages branch if available, otherwise master