CBQE-2321 fix extract windows info in direct url

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