Add check for DOMID before ssh_key injection.