changed linux specific code for getting agent.log path and added agent.log to .npmignore