Removing leading slashes on truncated paths