Fix regression about user agent string caused by 5f91be37af9b9245f9d6af63989bb36a7626946d.

Reviewed by: Marcelo Lira