improved notification handling for pkgsrc datbase update