Remove ending / in cygpath result