Revert "remove faulty code path for analyticsMachineName"

This reverts commit a98e63f28388d7b60eac2f51ec6556a49ed20b2d.