check for $recipes existence prior to checking data type

If there is no `recipes.php` file, then the `$recipes` array will not exist.  If the `is_array` method is called on an undefined variable, the process dies doesn't throw any useful server error.