don't add calculated priorities to /etc/hosts

Currently calculated priorities are added to `/etc/hosts` to lines like `127.0.0.1 localhost`.

This commit fixes this.