handle case when using detached branch (as Travis CI does)
Merge pull request #194 from mojavelinux/github-pages-checkout-fix

Handle case when using detached branch (as Travis CI does)