bugfix old manifest.xml references and template install to package.xml