Remove redundant hostname argument, add --dry-run argument

In practice hostname and node name did not differ in our use of
the tool.