Simpler null/missing value distinction during file read

Whether $data === null or not set this will work.