fix error in check os type in verify

Change-Id: I1ba3529b2a740a2eb815487b3a2600977c6e9003
Reviewed-on: http://review.couchbase.org/33949
Reviewed-by: Thuan Nguyen <soccon@gmail.com>
Tested-by: Thuan Nguyen <soccon@gmail.com>