fix(wsgi): a non-existing queue stats returns 404

Fixes: Bug#1192180
Change-Id: Iaf1e77b8ce01b33de63979164ea23ea086bf81d4
Merge "fix(wsgi): a non-existing queue stats returns 404"