fix #6542
pkg-search behavior was changed