[BUGFIX] file name in getLocalChanges has a slash as last character