Don't clone doc/juliadoc for --HEAD

Fixes code to match the comment. Fixes #135.