src: rewrite BindingData::GetPackageScopeConfig, don't use url parser
Will fix #54304 when completed Rewrote BindingData::GetPackageScopeConfig to use std::filesystem::path instead of URL parser TODO:
- modify ToNamespacedPath to accept a std::string as argument
- modify ToNamespacedPath to optionally keep the trailing slash
- call ToNamespacedPath in BindingData::GetPackageScopeConfig
- add tests