workaround test failures due to invalid hostnames on jenkins slaves