getExpressMiddleware helper: Avoid calling undefined method

... when req.route.name is a RegExp.

Related question -- will the below work as a statsd key?

```
response_time.by_url.GET_^\(?[\w%+@*\-\.\(\)!,]+\_)*
```