Make app return 404 when snippet not exist

Fix a bug found in #28