add deploy-agent.local to valid url
+ correct AgentController->push