Fix plugin registration issues caused by changes in RPM (rhbz#1523296).
Originally, the transaction file triggers provided just list of
filenames, but that was not intentional and the list now contains also
directory entries. Fortunatelly, these entries can be filtered out if
the path end withi '/'.