fix that package.xml files are not or wrongly generated

Change-Id: I22b2e9da8d9a8658fec6b5c4976fe2135c2b04f8
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>