here and in the other extract_*_attr function ENOENT should be negative