Only append port if present in the ENV.