Directly awarding the contract for seven ferries to the publicly owned Ferguson Marine shipyard could have been “the worst of both worlds”, the Deputy First Minister has said.