Make script/download work when we're a submodule

Our .git directory will actually be a file pointing to the real directory when
we're in a submodule, and --git-dir doesn't like that.