improve error message when no patches found