Fixed typo in path name regex