path parts will be an empty array on base path