Corrected after_failure cwd