Fix bug with updating the logArch location

Sometimes the WMStats document doesn't exist
when trying to associate a logArchive location
this caused the update function to crash. Fix it.