Pass the working directory to the module manager on creation