Usually when a ship comes back the crew gets free time and then gets assigned to wherever they're needed, the ship itself gets a thorough checkup anyway which will take months, might be that they caught the 1701 while she was already being checked out, cleaned, repaired an made fit for active duty again and decided to halt the whole process and use her for the refitting since she was going to be prepared for active duty anyway, they will already given her a thorough exam so they knew in what shape she was.