fix #1170 root map not taken into account for cssFolderPath

This commit fixes a regression introduced by commit 96c3f0591012d316db5de8325225645449ee26a7:
the root map is not taken into account for the computation of
the cssFolderPath property in CSS templates.