Bugfix - escape template names in package_manager.class.php