Fix: do not use nomad_user/nomad_group when a task is delegated to local host
Using the nomad_user/nomad_group when task is delegated to localhost (i.e the control machine) only works if the user/group exists and has access to the directory/files specified.
Fix gossip key generation for nomad versions >= 1.4.0