Relatively loaded templates are cached under multiple keys

Since cache keys are computed from the source name, which in the case of a relatively loaded template is the reltive path to the template, relatively loaded templates are cached under multiple keys.