Global.currentDir ends with a slash