add comment explaining validName parsing

[ref](https://github.com/bower/registry/pull/76#issuecomment-50245086)