IDEA-116247 Path does not exist with cyrillic chars at Git

Unescaping git path cuts char after escape sequence. Upper iteration loop iterates over string, when gets slash char inner loop starts iterate over string to collect bytes. After last iteration of inner loop pointer stayed at char next by escape sequence, but after next iteration of outer loop pointer moved to next char.