tlib#vcs#FindVCS(filename): Wrong parameters to fnamemodifiy if filename is a directory