> even if not all places are accepting realpath = NULL now

Yeah, like two lines up...