making the submodule fetch possible when running the script outside the repository