Much efficient way to get workspace.rootPath