Fix vnctl command crash with early API calling