Automatically select the Gateway if there is only one defined