Autotest: RPM Infrastructure: Standardize DUT hostnames

The RPM Infrastructure code expects no DNS zone inside the DUT hostname
however when we run tests the DUT hostname is passed with the zone and
can cause an exception, particularly on web powered RPM's.

Therefore I now strip out this information when the request is queued.

BUG=None
TEST=local setup with live RPM.

Change-Id: I1c714ed7ebc8b6389a4ce895fbc3b6dedc8bf087
Reviewed-on: https://gerrit.chromium.org/gerrit/33937
Commit-Ready: Simran Basi <sbasi@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
2 files changed