fix for situation where package tarname is different from the actual package name (pamac hanging)

I experienced a bug because i have chromium-pepper-flash installed.

unfortunetely this particular package has a different tar.gz file name then it's name
( chromium-pepper-flash != chromium-plugins ).

I don't know why this is the case, nevertheless pamac would fail to update the packages.
This simple patch fixes this problem