Array check for invalid argument error

If the .env file exists but is empty an error is thrown in
laravel/framework/src/Illuminate/Support/Arr.php on line 71 because an
array is expected but not given.