Avoid Undefined error in case url has no path
Avoid Undefined error in case url has no path: a task in Trending-SWE1.0 (Harbor dataset). Title: Avoid Undefined error in case url has no path
The task
**Title:** Avoid `Undefined` error in case url has no path
Part of scalingX/Trending-SWE1.0.