Dave, the fact that the space isn't escaped or otherwise mangled is probably a bug. Could you file it? Thanks.
Generally, people use the FQDN of the node's hostname for the node name, which is probably why no one ran into this before. The only big exception is when you have two logical nodes pointing to e.g. the same host but different usernames-- people usually use the format user@hostname for those cases.