Handle the case where starport is nil