plugins: fix installing appstream files

Reported-by: Sébastien Wilmet <swilmet@gnome.org>
Reference: https://bugzilla.gnome.org/show_bug.cgi?id=731799
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>