Fix archiving submodules files

It was previously trying to add submodule files without the submodule
path.