Reformats the metrics name when namespace|sender are avoided.

This scenario can be encountered when a user does not specify the `namespace` or the `sender` options.
By setting `namespace` and `sender` to `nil` the metric then looks like `..metric`

With this code we now have:
`..my.metric` => `my.metric` 
`my..metric` => `my.metric`