Fixes bug when TEMPLATION_DAV_STATIC_URL begins with the same string as TEMPLATION_PROVIDER_NAME