Properly handle GetRelativeOrNull case where path does not exist.