Ensure the template path and url values exist and if they do not
take best guess at setting them.