NTFY-22 Fixed cust/paste error in tools.getOrigin

the getOrigin method tries one of several methods for getting the
origin. A typo in the code prevented finding the origin in a query
parameter, which went undetected until changes in ntfy-88 forced
checking of origins in all requests if the realm has an origin field
specified