Load server first if local head is not defined