qa/734 - fix for longer hostnames
qa/734 - fix for longer hostnames

Truncate the hostname in the QA test to match what a correctly
behaving pmstat would report.

andyvand/cygpcpfans,prasincs/pcp,andyvand/cygpcpfans,edwardt/pcp,tjanez/pcp,adfernandes/pcp,aeg-aeg/pcpfans,tjanez/pcp,mbaldessari/pcp,wuliming/pcp,edwardt/pcp,prasincs/pcp,aeg-aeg/pcpfans,aeg-aeg/pcpfans,wuliming/pcp,wuliming/pcp,andyvand/cygpcpfans,edwardt/pcp,prasincs/pcp,aeg-aeg/pcpfans,prasincs/pcp,prasincs/pcp,aeg-aeg/pcpfans,adfernandes/pcp,wuliming/pcp,edwardt/pcp,tjanez/pcp,edwardt/pcp,edwardt/pcp,wuliming/pcp,adfernandes/pcp,aeg-aeg/pcpfans,andyvand/cygpcpfans,wuliming/pcp,prasincs/pcp,adfernandes/pcp,mbaldessari/pcp,wuliming/pcp,adfernandes/pcp,andyvand/cygpcpfans,tjanez/pcp,tjanez/pcp,mbaldessari/pcp,tjanez/pcp,andyvand/cygpcpfans,mbaldessari/pcp,adfernandes/pcp,wuliming/pcp,mbaldessari/pcp,andyvand/cygpcpfans,aeg-aeg/pcpfans,adfernandes/pcp,tjanez/pcp,edwardt/pcp,tjanez/pcp,adfernandes/pcp,prasincs/pcp,edwardt/pcp,aeg-aeg/pcpfans,mbaldessari/pcp,andyvand/cygpcpfans,prasincs/pcp