Fix nailgun agent master ip and mac POST data

Change-Id: I775960eab817d9ccee8b7f76e074f670914180bc
Closes-bug: #1282023