Redmine#5339: add packageupdatesmatching function