Issue #3085088 by mcdruid, Taran2L: menu_get_item() might return FALSE; calling code should take account of this