Fix the array_get function if the key is null

* if we pass null key to array_get will return null value, before was throwing an exception