try to restore the current directory after rebar failures