Fixes #6222 silent fail in front of shell_exec to prevent warnings from breaking the archiver