Since we had a previous example that called out a hostname could have a `@` in it, I would like to have a better understanding of why that second check existed.

What jumps out at me is that per https://projects.puppetlabs.com/issues/7014#note-5 we can have a `@` if there are no periods, because it'll skip this and go to line 272.