Do not create an empty patch if import failed without --reject