Fix error message when patch is missing.