Alas, it wasn't that simple. Writing cmsRootPath() to handle the case where Drupal is not bootstrapped.