isPathAbsolute doesn't work in this case