only register mustache autoloader on templateType==db