If it appears that there was no reasonable and probable cause, by reason of the condition of the ship or that act or default of the owner or the master, for the provisional detention of a ship, the Federal Government shall be liable to pay to the owner of the ship his costs of, an incidental to, the detention and survey of the ship and also compe...