Fix undefined wsf_base_path variable