git-apply: when validating default names, check the final EOLN too