make patch_delta() error cases a bit more verbose