handle desktop and manifest xml paths

Change-Id: I80614ca52d1b734ee117b76c68541f5010611c7d
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>