Remove realpath which return false on non-existing files.