[utils] Add default value for xpath_text