Soft gamma repeaters outside the Local Group