added fix for a possible undefined var
added fix for a possible undefined var

jmslbam/advanced-custom-fields-wpcli,jmslbam/advanced-custom-fields-wpcli,hoppinger/advanced-custom-fields-wpcli,hoppinger/advanced-custom-fields-wpcli