do not attempt to get browscap data when no user agent can be determined

avoids a PHP warning when a local browscap file is defined in php.ini