Usually embassies might not care that much about that but given the technical nature of the problem and the long delays involved, some US embassies explicitly advise travellers that they can get their passport back. The notice on the website of the embassy in Berlin is much shorter but I am sure they would do it too.
Credit:stackoverflow.com‘