Move check to start of function for config.uploadModsToMaster. When disabled, write one log line instead of one log line per mod.