I think relativeTo can not be null. So if it was not defined we just use the path.