Refactor a bit install workflow

There is not neet to install template in a cache directory before
installing them into final destination directory