return 404 if tag lookup failed

return 404 (via Sinatra 'halt') if no entries found for a tag lookup so that an automated query gets an error response code rather than having to parse the error message