USe rm -rf to remove .git folder instead of rm -r (this fixes https://github.com/staticfloat/homebrew-julia/issues/87 and https://github.com/staticfloat/homebrew-julia/issues/86)