This way we can always use `extendDir` API to append paths more safely as we know all system generated dir paths are going to have "/" appended to them.
This way we can always use
extendDirAPI to append paths more safely as we know all system generated dir paths are going to have "/" appended to them.