patches errors for server deployment (see issue https://github.com/da-nrw/SIP-Builder/issues/1)