This doesn't actually return an absolute path.  It just replaces instances of `..`.  We should rename this function