unpack-trees: handle lstat failure for existing directory