nodes: minor cleanup, less hostname checking