Verify that user agent matches Android before using it

This causes a problem for user agents that include `android`
(So `Util.Browser.android` is true), but they don't have a version after it.

The error is from running toString on null.