repo: use rugged_rb_ary_to_strarray in reset_path