Fix archiving submodules files

It was previously trying to add submodule files without the submodule
path, resulting in a file not found error.