Don't fail if unable to change back to the old CWD.
Don't try to sync with non existing temp loggers.
Merge pull request #7021 from s0undt3ch/develop

Don't fail if unable to change back to the old CWD.