Fix GError ENOENT small memory leak in getattr