default agentId to hostname if machine detection fails
Merge pull request #495 from virgo-agent-toolkit/fixes/machine_id_error_setup

default agentId to hostname if machine detection fails