Fix path of source_root so templates can be resolved