Fix empty group in rax.py output

This pull request addresses an issue where the output would contain a group that was an empty string.

The invalid output looked like:

```
{
    "": [
        "ubuntu",
        ... 
    ],
    ...
}
```