fix traceback on /get/foo/bar if bar does not exist