hooks: fixed shlib-provides detection to also detect shlibs with dots after dashes (libbabl-0.1.so.0).