MULE-7841: Avoid to retrieve the local host several times in order to reduce build time and flakiness.
Merge pull request #1203 from mulesoft/MULE-7841

MULE-7841: Avoid to retrieve the local host several times in order to re...