Fix bad result in failed hiera lookup

The `hiera` command doesn't return nothing for a failed lookup, it
returns the string "nil".