public function prepareDirectory($name)
    {

        // query whether or not the passed name is a absolute directory
        if ($this->containsScheme($name)) {
            return $this->stripSchema($name);
        }

        // if not, only append it and return the new path
        return $this->appendDirectory($name);
    }