“IF AT FIRST YOU FAIL, TRY AGAIN” Main Shipyard quest serious bug

“Main” quest line to get the garrison shipyard working cannot be completed as both initial ships got destroyed for me (must be a bug). Now “IF AT FIRST YOU FAIL, TRY AGAIN” cannot be completed on this character (already tried abandoning/restarting).