Fix puppull submodule bug

The previous version of this did not seem to work correctly in a
brand-new-directory-pull scenario and I am not too sure why. Hopefully
this will do it.

Git submodules are really irritating.