Remove uneeded variable AGENT_NAME

Fixes bug: 1243464

Change-Id: I833dd64e98c679c050aa958576c7726bfa15cc8e
Merge "Remove uneeded variable AGENT_NAME"