Either try changing back to `self.cfg['start_dir']` directly, or try changing back to `cwd` and `self.log.error` if that fails. This is overkill, and if the change to `cwd` fails something is probably very wrong, so there's no reason to try and dance around that and fail anyway later on.