Fix the array_get function if the key is null
* if we pass null key to array_get will return the default value, before was throwing an exception