Change hostname to hostname()

Change-Id: I5234b945bdfb0feea7ef9d2b8b9a34aa45c1ad43