[repo] fixed bug for path with single quote or '&' in it